<form>
<input type="button" value="small grid" onclick="changeGridSize('small')"/>
&nbsp;<input type="button" value="medium grid"  onclick="changeGridSize('normal')"/>
&nbsp;<input type="button" value="large grid" onclick="changeGridSize('large')"/>
</form>